package com.cby.operation.sdk

import com.cby.operation.common.encrypt.Md5Utils
import org.junit.Assert.*
import org.junit.Test

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun randomNumber() {
        for (index in 1..100) {
            //println("$index = ${IDGeneratorUtils.generateRandomID()}")
        }

    }

    @Test
    fun testMd5() {
        val source = "which will execute on the development machine"
        val result: String = Md5Utils.md5(source)
        println(result)
    }
}